box gadget: Don't allow shifting too far
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 03:49:01 +0000 (22:49 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 03:49:01 +0000 (22:49 -0500)
commit73307f78dc8a10a2db2a0979ec7ede40f367b781
treea0ea3befb1927f6bfeb4689386aff873a72a5d93
parent50e923349ec5690baf957ac614716790df172808
box gadget: Don't allow shifting too far

We don't want to let baseline adjustment shift the child
out of the original allocation. This is purely a sanity
measure - in practice, the baseline should always be bigger
than the child_baseline.
gtk/gtkboxgadget.c